#pragma once
#include "StaticObject.h"
class Box;
class Sprite;


class Bridge : public StaticObject
{

private:
	bool _playerOnTop;
	bool _explode;
	float x, y;
	float count ;
	Sprite* _sprite;
public:
	float _delayTime;
	Bridge(Box* box);
	Box* getBox();
	~Bridge(void);
	void init();
	void update();	
	void render();

};

